package com.bosssoft.ecds.service;

import com.bosssoft.ecds.entity.dto.AutoApplyDTO;
import com.bosssoft.ecds.entity.dto.AutoApplyReceiveDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author 张东海
 * @date 2020/8/24
 * @description 远程调用票据池出票的服务
 */
@Service
@FeignClient(value = "ecds-billpool")
public interface RemotePoolService {
    @PostMapping("retrieveBill")
    AutoApplyReceiveDTO autoApply(AutoApplyDTO autoApplyDTO);
}
